Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-17@packages.debian.org>
Mon, 27 Jul 2026 09:39:42 +0000 (11:39 +0200)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Mon, 27 Jul 2026 09:39:42 +0000 (11:39 +0200)
commitdd407759db8e15cb7c22b4718190c336e981bbaf
treed88a2f7095ea2cefd77dbab0e3be83e3269c510c
parent099fd212f1b807202de14b7bc3022cc148202b55
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp